<script language="javascript" type="text/javascript" src="js/profile.tab.js"></script>

<div class="tab_content" style="min-height: 500px;">

	<?php require($SETTINGS['VIEW_PATH'] . "messages" . $SETTINGS['VIEW_NAME']) ?>

	<div class="Help">
		<img src="image/Help_Button.gif" onclick="showHelp('profile');" />
	</div>
	<div id="profileLoading" style="padding:0px 45% 10px 45%;display:none;"><img src="image/loading_icon.gif"></div>

	<div class="profileTop">プロフィール</div>
	<div class="form" style="min-height:300px;">
		<div class="profileMain">

			<form>
				<label for="name">Twitter名</label>
				<input type="text" class="text account-name" readonly="readonly" id="account-name" name="account-name" value="<?php echo $_SESSION['twitter_username'] ?>"/>
				<br>
				<label for="name">名前</label>
				<input type="text" class="text" id="name" name="name" value="<?php echo $name ?>"/>
				<br>
				<label for="email">メール</label>
				<input type="text" class="text" id="email" name="email" value="<?php echo $email ?>"/>
				<br>
				<label for="birthdate">生年月日</label>
				<input id="birthdate" name="birthdate" type="text" class="text" value="<?php echo $birthdate ?>" readonly="readonly">
				
				<input name="send_button" onclick="submitProfile()" class="text" type="button" value="更新"><br>

			</form>
		</div>
	</div>

	<?php if ($profile_unfilled) echo "<input type=\"hidden\" id=\"profile_unfilled\" value=\"true\">" ?>

</div>